package articleInf

import "bolg_admin/app/models"

// ArticleInf 文章信息模型
type ArticleInf struct {
	models.BaseModel
	UserName     string `gorm:"column:user_name;type:varchar(255);not null" json:"userName"`
	Title        string `gorm:"column:title;type:varchar(255);not null" json:"title"`                //标题
	Summary      string `gorm:"column:summary;type:varchar(255);not null" json:"summary"`            //摘要
	Announcer    uint   `gorm:"column:announcer;type:varchar(255);not null" json:"announcer"`        //发布者id
	ArticleConId uint64 `gorm:"column:articlecon_id;type:varchar(255);not null" json:"articleConId"` //文章内容id
}
